/*
 * LogPostData.java
 *
 * Created on April 16, 2007, 2:36 PM
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package Comm.Net;

import Comm.Net.BaseData;
import Experience.ExpUI;

/**
 *
 * @author dmgreen
 */
public class LogPostData extends PostData {
    
    /**
     * Creates a new instance of LogPostData
     */
    public LogPostData() {
        super(ExpUI.UPLOADER_URL, 0);
        this.setMsgType(BaseData.MSGTYPE_LOG);
    }
    
    public void addLog(String log_data) {
        myPayload += "--" + BOUNDARY +
                "Content-type: text/plain\r\n" +
                "Content-Disposition: form-data; name=\"log\"\r\n" +
                 "\r\n" +
                 log_data+"\r\n";
    }
    
}
